package com.zjs.vueUser.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zjs.vueUser.entity.User;
import com.zjs.vueUser.entity.UserRole;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zjs
 * @since 2020-07-04
 */
public interface UserMapper extends BaseMapper<User> {

    UserRole getUserRole(@Param("id") Long id);

    void updateRoleUser(UserRole role);

    void saveRoleUser(UserRole role);
}
